<?php
class LanguageController extends Zend_Controller_Action
{
	public function changeAction()
	{
		$id = (int) $this->_request->getParam('id');
		$namespace = new Zend_Session_Namespace();
		$namespace->language = $id;

		$this->_helper->layout()->disableLayout();
		Zend_Controller_Front::getInstance()->setParam('noViewRenderer', true);

	}
}